package com.iqiyi.pps.epg.core.message;

import com.iqiyi.kiwi.message.config.ClientConfig;
import com.iqiyi.kiwi.message.config.DestinationConfig;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.util.List;

/**
 * Created by karkarrotxu on 2016/12/6.
 */
@XmlRootElement(name = "MessageConfigs")
public class MessageConfigs {

    @XmlElement(name = "client")
    private List<EpgClientConfig> clientConfigs;

    @XmlElement(name = "destination")
    private List<DestinationConfig> destinationConfigs;

    @XmlTransient
    public List<EpgClientConfig> getClientConfig(){
        return this.clientConfigs;
    }

    public void setClientConfig(List<EpgClientConfig> clientConfigs){
        this.clientConfigs = clientConfigs;
    }

    @XmlTransient
    public List<DestinationConfig> getDestinationConfigs(){
        return this.destinationConfigs;
    }

    public void setDestinationConfigs(List<DestinationConfig> destinationConfigs) {
        this.destinationConfigs = destinationConfigs;
    }
}